package com.ermao.mymes.cron.xxl.constants;

/**
 * xxl-job常量信息
 *
 * @author Ermao
 * Date: 2022/5/16 14:30
 */
public class XxlJobConstant {
	/**
	 * 任务信息接口路径
	 */
	public static final String LOGIN_URL = "/login";
	public static final String INSERT_URL = "/jobinfo/add";
	public static final String UPDATE_URL = "/jobinfo/update";
	public static final String DELETE_URL = "/jobinfo/remove";
	public static final String RUN_URL = "/jobinfo/start";
	public static final String STOP_URL = "/jobinfo/stop";

	public static final String JOB_GROUP_PAGE_LIST = "/jobgroup/pageList";
	public static final String JOB_GROUP_INSERT_URL = "/jobgroup/save";


	/**
	 * 执行任务名称
	 */
	public static final String JOB_HANDLER_NAME = "austinJob";

	/**
	 * 超时时间
	 */
	public static final Integer TIME_OUT = 120;

	/**
	 * 失败重试次数
	 */
	public static final Integer RETRY_COUNT = 0;

	/**
	 * 立即执行的任务 延迟时间(秒数)
	 */
	public static final Integer DELAY_TIME = 10;
}
